package com.example.kuaizu.pojo.ov;

import com.example.kuaizu.pojo.PromotionArrayObject;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PromotionArrayObjectOv implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    //推广人id
    @NotNull(message = "推广人id不能为空")
    private String openid;
    //推广项目id
    @NotNull(message = "项目id不能为空")
    private Integer projectId;
    //学校专业id集合
    @NotNull(message = "学校专业id集合不能为空")
    private PromotionArrayObject[] promotionArrayObject;
}
